package com.fw.enums;

public enum PigState {
    //1存活，2被宰
    ALIVE("1", "存活"),
    DEAD("2", "被宰");

    private String value;
    private String message;

    PigState(String value, String message){
        this.value = value;
        this.message = message;
    }
    public String getValue(){
        return value;
    }
    public void setValue(String value){
        this.value = value;
    }
    public String getMessage(){
        return message;
    }
    public void setMessage(String message){
        this.message = message;
    }
}
